package com.zbkj.service.service;

import com.github.pagehelper.PageInfo;
import com.zbkj.dal.entity.ba.Identify;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zbkj.dal.pojo.request.PageParamRequest;
import com.zbkj.dal.pojo.request.ba.ConcludeIdentifyRequest;
import com.zbkj.dal.pojo.request.ba.IdentifyQueryRequest;
import com.zbkj.dal.pojo.request.ba.IdentifyRequest;
import com.zbkj.dal.pojo.response.ba.IdentifyDetailResponse;
import com.zbkj.dal.pojo.response.ba.IdentifyResponse;
import com.zbkj.dal.pojo.response.ba.MyIdentifyResponse;

import java.util.List;

/**
 * <p>
 * 评估鉴定 服务类
 * </p>
 *
 * @author jhui
 * @since 2023-10-03
 */
public interface IdentifyService extends IService<Identify> {

    /**
     * 我的评估鉴定订单
     * @param status
     * @param pageParamRequest
     * @return
     */
    List<MyIdentifyResponse> listMyIdentify(Integer status, PageParamRequest pageParamRequest);

    /**
     * 删除我的奢品评估鉴定信息
     * @param id
     * @return
     */
    Boolean deleteMyIdentify(Integer id);

    /**
     * 创建评估鉴定信息
     * @param identifyRequest
     * @return
     */
    Boolean create(IdentifyRequest identifyRequest);

    /**
     * 分页查询评估鉴定信息
     * @param identifyQueryRequest
     * @return
     */
    PageInfo<IdentifyResponse> queryIdentifyPaged(IdentifyQueryRequest identifyQueryRequest, PageParamRequest pageParamRequest);

    /**
     * 判定结果
     * @param concludeIdentifyRequest
     */
    boolean conclude(ConcludeIdentifyRequest concludeIdentifyRequest);

    /**
     * 评估鉴定详情
     * @param id
     * @return
     */
    IdentifyDetailResponse detail(Integer id);
}
